package org.sjm.samples.dao;

import java.util.List;

import org.sjm.samples.model.ExamScore;
import org.sjm.samples.model.ExamScoreVO;

public interface IExamScoreDAO extends IBaseDAO<ExamScore> {
	
	public List<ExamScore> FindAllScore();
	
	public List<ExamScore> getScoreByUser(String userId);

	public ExamScore getScore(String userId, Integer subId);

	public ExamScoreVO getScoreById(Integer scoreId);
	
	public void createExamScore(ExamScore score);

	public void editScore(String userId, Integer subId, Integer score);

	public List<ExamScore> getScoreBySub(String query);

	public List<ExamScore> getScoreByUserId(String query);

	public List<ExamScore> getScoreByUserName(String query);

	public List<ExamScore> getScoreByDate(String[] date);

}
